﻿<%@ Page Language="C#" Theme="skin_control" AutoEventWireup="true" CodeFile="WeekReportDisplay.aspx.cs"
    Inherits="Report_WeekReportDisplay" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>周计划分析</title>
    <link href="../App_Themes/css/Report.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        /*标黑投影显示的表格线*/
        td
        {
            border-width: 1px;
            border-color: Black;
            font-size: 14pt;
        }
        th
        {
            border-width: 1px;
            border-color: Black;
        }
        table
        {
            border-color: Black;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <table cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
            <td class="firstbjcolor" colspan="8" style="height: 14px;">
                <span class="currentHere">当前位置:周计划统计管理-&gt;周计划统计分析</span>
            </td>
        </tr>
        <tr>
            <td style="height: 1; width: 100%;">
            </td>
        </tr>
        <tr>
            <td style="background-image: url(../images/secondRow.gif); background-repeat: repeat-x">
                年份:<asp:DropDownList ID="drpYear" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpYear_SelectedIndexChanged"
                    SkinID="dropdownlistSkin">
                </asp:DropDownList>
                年周期:<asp:DropDownList ID="drpQuarterDate" runat="server" OnSelectedIndexChanged="drpQuarterDate_SelectedIndexChanged"
                    AutoPostBack="True" SkinID="dropdownlistSkin">
                </asp:DropDownList>
                月周期:<asp:DropDownList ID="drpMonthDate" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpMonthDate_SelectedIndexChanged"
                    SkinID="dropdownlistSkin">
                </asp:DropDownList>
                周周期:<asp:DropDownList ID="drpWeekDate" runat="server" SkinID="dropdownlistSkin">
                </asp:DropDownList>
                <asp:Button ID="btnGetReport" runat="server" OnClick="btnGetReport_Click" Text="生成报表"
                    SkinID="buttonSkin" Width="70px" /><asp:Button ID="btnWeekMonth" runat="server" Text="周完成率"
                        OnClick="btnWeekMonth_Click" SkinID="buttonSkin" Width="70px" /><asp:Button ID="btnWeekDepartment"
                            runat="server" Text="部门完成率" OnClick="btnWeekDepartment_Click" SkinID="buttonSkin"
                            Width="75px" />
            </td>
        </tr>
        <tr>
            <td>
                 <asp:GridView ID="gdvWeekReport" runat="server" AutoGenerateColumns="False" OnRowCreated="gdvMonthReport_RowCreated"
                    Width="100%" SkinID="gridviewSkinDisplay" EnableModelValidation="True">
                    <Columns>
                        <asp:BoundField DataField="DepartmentParentName" HeaderText="部门" />
                        <asp:BoundField DataField="DepartmentName" HeaderText="部门" />
                        <asp:BoundField DataField="PreWeekPlanCount" HeaderText="计划总数">
                            <HeaderStyle Width="8%" />
                        </asp:BoundField>
                        <asp:BoundField DataField="PreWeekCompleteCount" HeaderText="完成">
                            <HeaderStyle Width="8%" />
                        </asp:BoundField>
                        <asp:BoundField DataField="PreEmphasisPlan" HeaderText="计划调整">
                            <HeaderStyle Width="8%" />
                        </asp:BoundField>
                        <asp:BoundField DataField="TheWeekPlanCount" HeaderText="计划总数">
                            <HeaderStyle Width="8%" />
                        </asp:BoundField>
                        <asp:BoundField DataField="TheWeekCompleteCount" HeaderText="完成">
                            <HeaderStyle Width="8%" />
                        </asp:BoundField>
                        <asp:BoundField DataField="TheWeekSuccess" HeaderText="顺利进行">
                            <HeaderStyle Width="8%" />
                        </asp:BoundField>
                        <asp:BoundField DataField="TheWeekHindrance" HeaderText="有障碍">
                            <HeaderStyle Width="8%" />
                        </asp:BoundField>
                        <asp:BoundField DataField="TheWeekUnControl" HeaderText="失控">
                            <HeaderStyle Width="8%" />
                        </asp:BoundField>
                        <asp:BoundField DataField="TheEmphasisPlan" HeaderText="计划调整">
                            <HeaderStyle Width="8%" />
                        </asp:BoundField>
                        <asp:BoundField DataField="部门计划未完成率" HeaderText="部门计划完成率" DataFormatString="{0:N2}%" />
                    </Columns>
                </asp:GridView>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
